<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/tag/sys" prefix="sys"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<base href="<sys:baseUrl/>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Update Good</title>
<link rel="Stylesheet" href="style/common.css" />
</head>
<body>
<div class="input_area" style="width: 500px">
<form action="info/goods/update" method="post">
	<label>品&nbsp;&nbsp;名：<input name="name" size='41' value="${g.goodsname }"/></label><br/><br/>
	<label>编&nbsp;&nbsp;号：<input name="id" readonly="readonly" value="${g.id }" size="15"/></label>
	<label>单&nbsp;&nbsp;价：<input name="price" size='10' value='${g.price }'/></label><br/><br/>
	<label>产&nbsp;&nbsp;地：<input name="place" size='41' value='${g.produceplace }'/></label><br/><br/>
	<label>供应商：
		<select name="provider">
		<c:forEach items="${pList }" var="p">
			<option value="${p.id}">${p.providername}</option>
		</c:forEach>
		</select>
	</label>
	<label>规&nbsp;&nbsp;格：<input name="size" size='10' value='${g.size }'/></label><br/><br/>
	<label>包&nbsp;&nbsp;装：<input name="package" size='10' value='${g.package_ }'/></label>
	<label>批&nbsp;&nbsp;号：<input name="produce_code" size='20' value='${g.productcode }'/></label><br/><br/>
	<label>批准文号：<input name="promit_code" size='40' value='${g.promitcode }'/></label><br/><br/>
	<label>商品描述：<input name="describe" size='40' value='${g.description }'/></label><br/><br/>
	<center><input type="submit" value="提交"/>&nbsp;&nbsp;<input type="reset" value="清空"/></center>
</form>
</div>
</body>
</html>